Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

build
Link copied to clipboard
open fun build(): CustomGeometrySourceOptions
cancelTileFunction
Link copied to clipboard
open fun cancelTileFunction(@NonNull() cancelTileFunction: CancelTileFunctionCallback): CustomGeometrySourceOptions.Builder
The callback that cancels a tile.
fetchTileFunction
Link copied to clipboard
open fun fetchTileFunction(@NonNull() fetchTileFunction: FetchTileFunctionCallback): CustomGeometrySourceOptions.Builder
The callback that provides data for a tile.
maxZoom
Link copied to clipboard
open fun maxZoom(maxZoom: Byte): CustomGeometrySourceOptions.Builder
A maximum zoom level, at which to create vector tiles.A higher maximum zoom level provides greater details at high map zoom levels.The default value is `18`.
minZoom
Link copied to clipboard
open fun minZoom(minZoom: Byte): CustomGeometrySourceOptions.Builder
A minimum zoom level, at which to create vector tiles.The default value is `0`.
tileOptions
Link copied to clipboard
open fun tileOptions(@NonNull() tileOptions: TileOptions): CustomGeometrySourceOptions.Builder
Tile options.